\name{TimeSeriesWrite}
\alias{TimeSeriesWrite}
\title{Write Time Series}
\usage{
  TimeSeriesWrite(data, outfile, round = -1, comment = "",
    env = SetEnv())
}
\arguments{
  \item{data}{Data frame that contains the data to be
  written as a time series. it must contain a column of
  type POSIXct named "Date". All other columns must be of
  type numeric.}

  \item{outfile}{Full path to the file that should be
  written.}

  \item{round}{Optional rounding applied to all columns.
  This can be 0-6 digits with the default of -1 indicating
  no rounding.}

  \item{comment}{Optional comment to be included in the
  beginning lines of file.}

  \item{env}{List that passes a number of default
  settings.}
}
\description{
  Write GEOtop time series
}
\details{
  This function writes a GEOtop time series such as a meteo
  file or a result file. Data is sorted ascending by the
  "Date" column.
}
\examples{
TimeSeriesWrite(meteo, "./data/meteo0001.txt")
}
\author{
  Stephan Gruber <stephan.gruber@carleton.ca>
}

